import Vue from 'vue';
import Vuetify from 'vuetify/lib/framework';
import { VSnackbar, VBtn, VIcon } from 'vuetify/lib'
import VuetifyToast from 'vuetify-toast-snackbar-ng'

Vue.use(VuetifyToast, {
  x: 'center', // default
  y: 'top', // default
  color: 'info', // default
  icon: 'mdi-information',
  iconColor: '', // default
  classes: [
    'body-2'
  ],
  timeout: 2000, // default
  dismissable: true, // default
  multiLine: false, // default
  vertical: false, // default
  queueable: false, // default
  showClose: false, // default
  closeText: '', // default
  closeIcon: 'close', // default
  closeColor: '', // default
  slot: [], //default
  shorts: {
    custom: {
      color: 'purple'
    }
  },
  property: '$toast' // default
})
Vue.use(Vuetify,{
  components: {
    VSnackbar,
    VBtn,
    VIcon
  }
});
export default new Vuetify({
  theme: {
    themes: {
      light: {
        primary: '#F25C78', // #E53935
        secondary: '#484FD9', // #FFCDD2
        accent: '#2CBFB1', // #3F51B5
        tertiary: '#B3F2E7',
        quaternary: '#dbc23a'
      }
    }
  }
});
